package com.ruoyi.teach.service;

import java.util.List;
import com.ruoyi.teach.domain.NbKnowledgePoints;

/**
 * 知识点Service接口
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public interface INbKnowledgePointsService 
{
    /**
     * 查询知识点
     * 
     * @param id 知识点主键
     * @return 知识点
     */
    public NbKnowledgePoints selectNbKnowledgePointsById(Long id);

    /**
     * 查询知识点列表
     * 
     * @param nbKnowledgePoints 知识点
     * @return 知识点集合
     */
    public List<NbKnowledgePoints> selectNbKnowledgePointsList(NbKnowledgePoints nbKnowledgePoints);


    /**
     * 查询知识点列表
     *
     * @param nbKnowledgePoints 知识点
     * @return 知识点集合
     */
    public List<NbKnowledgePoints> selectNbKnowledgePointsTree(NbKnowledgePoints nbKnowledgePoints);

    /**
     * 新增知识点
     * 
     * @param nbKnowledgePoints 知识点
     * @return 结果
     */
    public int insertNbKnowledgePoints(NbKnowledgePoints nbKnowledgePoints);

    /**
     * 修改知识点
     * 
     * @param nbKnowledgePoints 知识点
     * @return 结果
     */
    public int updateNbKnowledgePoints(NbKnowledgePoints nbKnowledgePoints);

    /**
     * 批量删除知识点
     * 
     * @param ids 需要删除的知识点主键集合
     * @return 结果
     */
    public int deleteNbKnowledgePointsByIds(Long[] ids);

    /**
     * 删除知识点信息
     * 
     * @param id 知识点主键
     * @return 结果
     */
    public int deleteNbKnowledgePointsById(Long id);
}
